package com.ruoyi.crm.service;

import com.ruoyi.common.mybatis.core.page.PageQuery;
import com.ruoyi.common.mybatis.core.page.TableDataInfo;
import com.ruoyi.crm.domain.PoolCustomer;

import java.util.List;

public interface IPoolCustomerService {
    /**
     * 查询公海客户
     */
    TableDataInfo<PoolCustomer> selectPoolCustomerPageList(PoolCustomer poolCustomer, PageQuery pageQuery);
    /**
     * 修改公海客户
     */
    int updatePoolCustomerById(PoolCustomer poolCustomer);
    /**
     * 删除公海客户
     */
    int deletePoolCustomerById(Long poolId);

    List<PoolCustomer> selectPoolCustomerList(PoolCustomer poolCustomer);

    /**批量新增*/
    boolean insertBatch(List<PoolCustomer> list);
}
